#include<stdio.h>
#include<conio.h>
void main()
{
	char sex,ms;
	int  age;
	clrscr();

	printf("\n\n\tEnter Age, Sex, Marital Status: ");
	scanf("%d%c%c",&age, &sex,&ms);


	if((ms == 'M')||(ms == 'U' && sex == 'M' && age >30)||(ms == 'U' && sex == 'F' && age>25))

	   printf("\n\n\tDriver is insured");
	else

	   printf("\n\n\tDriver is not insured ");


	   getch();
}

